package com.itheima.service.db.impl;

import com.itheima.domain.UmsResource;
import com.itheima.mapper.UmsResourceMapper;
import com.itheima.service.db.UmsResourceService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@DubboService
public class UmsResourceServiceImpl implements UmsResourceService {
    @Autowired
    UmsResourceMapper umsResourceMapper;

    @Override
    public List<UmsResource> findByResourceIds(List<Long> resourceIds) {
        return umsResourceMapper.selectBatchIds(resourceIds);
    }
}
